package edu.wright.ceg4980.year2013.keyboard;

import java.io.File;


public class Main {
	public static void main(String[] args) throws Exception {
		int logNum = 0;
		String logFileName;
		do {
			logFileName = String.format("log%d.txt", logNum);
			++logNum;
		} while ((new File(logFileName)).exists());
		
		Logger.setLogFileName("." + File.separator + logFileName);
		Logger.clearFile();
		Logger.setEnabled(true);

		(new LoginDialog()).show();
	}
}
